
        :root {
            --f1-red: #e10600;
            --f1-black: #15151e;
            --f1-dark: #1f1f27;
            --f1-gray: #38383f;
            --f1-light: #f4f4f4;
            --f1-white: #ffffff;
            --mercedes: #00d2be;
            --ferrari: #dc0000;
            --mclaren: #ff8700;
            --redbull: #0600ef;
            --williams: #005aff;
            --renault: #fff500;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Exo 2', 'Segoe UI', sans-serif;
        }

        body {
            background-color: rgb(173, 173, 141);
            color: var(--f1-light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Header Styles */
        header {
            background: linear-gradient(to right, var(--f1-black), var(--f1-dark));
            padding: 1.5rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
            border-bottom: 2px solid var(--f1-red);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo-text {
            font-size: 2rem;
            font-weight: 800;
            color: var(--f1-white);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .logo-red {
            color: var(--f1-red);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
            
        }

        nav a {
            color: var(--f1-light);
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 1.4rem;
            letter-spacing: 1px;
            transition: color 0.3s;
            position: relative;
            
        }

        nav a:hover {
            color: var(--f1-red);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--f1-red);
            transition: width 0.3s;
        }

        nav a:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            height: 90vh;
            background: linear-gradient(rgba(21, 21, 30, 0.7), rgba(21, 21, 30, 0.9)), 
                        url('https://formulanerds.com/wp-content/uploads/2025/03/A-Comprehensive-Look-at-the-75-Greatest-Drivers-and-Influential-Figures-in-F1-History.jpg') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0 2rem;
            position: relative;
        }

        .hero-content {
            max-width: 800px;
            z-index: 2;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
            font-weight: 800;
        }

        .hero p {
            font-size: 1.4rem;
            margin-bottom: 2rem;
            color: var(--f1-light);
        }

        .btn {
            display: inline-block;
            background-color: var(--f1-red);
            color: var(--f1-white);
            padding: 1rem 2.5rem;
            border-radius: 4px;
            text-decoration: none;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
            transition: background-color 0.3s, transform 0.3s;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            margin: 0.5rem;
        }

        .btn:hover {
            background-color: #ff1a1a;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(225, 6, 0, 0.3);
        }

        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--f1-red);
        }

        .btn-outline:hover {
            background-color: var(--f1-red);
        }

        /* Section Styles */
        section {
            padding: 5rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title h2 {
            font-size: 2.8rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            display: inline-block;
            padding-bottom: 1rem;
            font-weight: 700;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background-color: var(--f1-red);
        }

        .section-intro {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 3rem;
            font-size: 1.2rem;
        }

        /* Drivers Section */
        .drivers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .driver-card {
            background: linear-gradient(to bottom right, var(--f1-dark), var(--f1-gray));
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s;
            position: relative;
        }

        .driver-card:hover {
            transform: translateY(-10px);
        }

        .driver-img {
            height: 300px;
            overflow: hidden;
            position: relative;
        }

        .driver-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .driver-card:hover .driver-img img {
            transform: scale(1.1);
        }

        .driver-info {
            padding: 1.5rem;
        }

        .driver-info h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--f1-white);
        }

        .driver-info .team {
            color: var(--f1-red);
            font-weight: 600;
            margin-bottom: 1rem;
            display: block;
        }

        .driver-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem;
            border-top: 1px solid var(--f1-gray);
            padding-top: 1rem;
        }

        .stat {
            text-align: center;
        }

        .stat .number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--f1-white);
        }

        .stat .label {
            font-size: 0.8rem;
            text-transform: uppercase;
            color: var(--f1-light);
        }

        /* Champions Section */
        .champions-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .champion-category {
            background: linear-gradient(to bottom right, var(--f1-dark), var(--f1-gray));
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .champion-category h3 {
            font-size: 1.8rem;
            color: var(--f1-red);
            margin-bottom: 1.5rem;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .champion-list {
            list-style: none;
        }

        .champion-list li {
            padding: 1rem;
            border-bottom: 1px solid var(--f1-gray);
            display: flex;
            align-items: center;
        }

        .champion-list li:last-child {
            border-bottom: none;
        }

        .champion-list .number {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--f1-red);
            margin-right: 1rem;
            min-width: 40px;
            text-align: center;
        }

        .champion-list .name {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .champion-list .years {
            margin-left: auto;
            color: var(--f1-light);
            font-size: 0.9rem;
        }

        /* Bernie Ecclestone Section */
        .ecclestone-section {
            background: linear-gradient(to right, var(--f1-dark), var(--f1-black));
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            margin: 4rem 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        }

        .ecclestone-img {
            flex: 1;
            min-height: 400px;
            background: url('https://cdn-7.motorsport.com/images/amp/68yggzx0/s6/bernie-ecclestone-on-the-grid.jpg') no-repeat center center/cover;
        }

        .ecclestone-content {
            flex: 1;
            padding: 3rem;
        }

        .ecclestone-content h2 {
            font-size: 2.5rem;
            color: var(--f1-red);
            margin-bottom: 1.5rem;
        }

        .ecclestone-content h3 {
            font-size: 1.2rem;
            color: var(--f1-light);
            margin-bottom: 2rem;
            font-weight: 400;
            font-style: italic;
        }

        .ecclestone-content p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

        /* Timeline Section */
        .timeline {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: var(--f1-red);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }

        .timeline-item:nth-child(odd) {
            left: 0;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
        }

        .timeline-content {
            padding: 20px;
            background-color: var(--f1-dark);
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            position: relative;
        }

        .timeline-content h3 {
            color: var(--f1-red);
            margin-bottom: 1rem;
        }

        .timeline-date {
            font-weight: bold;
            color: var(--f1-white);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        /* Tracks Section */
        .tracks-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .track-card {
            background: var(--f1-dark);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s;
        }

        .track-card:hover {
            transform: translateY(-5px);
        }

        .track-img {
            height: 200px;
            overflow: hidden;
        }

        .track-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .track-card:hover .track-img img {
            transform: scale(1.1);
        }

        .track-info {
            padding: 1.5rem;
        }

        .track-info h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--f1-white);
        }

        .track-info .location {
            color: var(--f1-red);
            font-weight: 600;
            margin-bottom: 1rem;
            display: block;
        }

        /* Footer */
        footer {
            background-color: var(--f1-dark);
            padding: 3rem 2rem;
            text-align: center;
            margin-top: 4rem;
            border-top: 2px solid var(--f1-red);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-logo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--f1-white);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 1rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--f1-light);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--f1-red);
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .social-icons a {
            color: var(--f1-light);
            font-size: 1.5rem;
            transition: color 0.3s;
        }

        .social-icons a:hover {
            color: var(--f1-red);
        }

        .copyright {
            color: var(--f1-gray);
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media screen and (max-width: 968px) {
            .ecclestone-section {
                flex-direction: column;
            }
            
            .ecclestone-img {
                min-height: 300px;
            }
        }

        @media screen and (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 1rem;
            }

            nav ul {
                gap: 1rem;
                flex-wrap: wrap;
                justify-content: center;
            }

            .hero h1 {
                font-size: 2.8rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }

            .timeline::after {
                left: 31px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }

            .timeline-item:nth-child(even) {
                left: 0;
            }
            
            .section-title h2 {
                font-size: 2.2rem;
            }
        }
         /* Champions Table Styles */
     .champions-table-container {
        overflow-x: auto;
        margin-top: 2rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .champions-table {
        width: 100%;
        border-collapse: collapse;
        background: linear-gradient(to bottom right, var(--f1-dark), var(--f1-gray));
    }
    
    .champions-table th {
        background-color: var(--f1-red);
        color: var(--f1-white);
        padding: 1rem;
        text-align: left;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 1px;
        position: relative;
        transition: background-color 0.3s;
    }
    
    .champions-table th:hover {
        background-color: #b10600;
    }
    
    .champions-table td {
        padding: 1rem;
        border-bottom: 1px solid var(--f1-gray);
        color: var(--f1-light);
    }
    
    .champions-table tr:nth-child(even) {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .champions-table tr:hover {
        background-color: rgba(225, 6, 0, 0.1);
    }
    
    /* Sorting indicators */
    .champions-table th::after {
        content: '↕';
        margin-left: 8px;
        font-size: 0.8em;
        opacity: 0.6;
    }
    
    /* Responsive table */
    @media screen and (max-width: 768px) {
        .champions-table {
            font-size: 0.9rem;
        }
        
        .champions-table th, 
        .champions-table td {
            padding: 0.7rem 0.5rem;
        }
        
        .champions-table-container {
            margin: 1rem -1rem;
            border-radius: 0;
        }
    }
    
    @media screen and (max-width: 480px) {
        .champions-table {
            font-size: 0.8rem;
        }
        
        .champions-table th, 
        .champions-table td {
            padding: 0.5rem 0.3rem;
        }
    }
            article {
            background-color: #e10600;
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .article-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .article-container a {
            color: white;
            font-weight: 600;
            padding: 5px 10px;
            border-radius: 4px;
            transition: background-color 0.3s;
            font-size: 23px;
        }
        
        nav ul li a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }